package com.liu.my_blog_system.controller.user;

import com.liu.my_blog_system.utils.Result;
import com.liu.my_blog_system.utils.ResultCodeEnum;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ErrorPageController {

    @GetMapping("/404")
    public Result page404() {
        return Result.setResult(ResultCodeEnum.NOT_FOUND);
    }
}
